package pl.piasecki;

import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;

@Path("/helloworld")
public class RestServer {

	@GET
	@Produces("text/plain")
	@Path("/{in}/{in2}")
	public String getMessage(@PathParam("in") String in,
			@PathParam("in2") String in2) {
		System.out.println("sayHello()");
		return "Hello, world!" + in + " " + in2 + " ";
	}
}